package com.xunlai.infra.permission.manager.web.vo.position;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author liang
 * @date 12/21/22 9:13 AM
 */
@Data
public class CreatePositionReqVo implements Serializable {

    @Serial
    private static final long serialVersionUID = -1461455558321505674L;

    @NotEmpty(message = "岗位名称不能为空",groups = {ValidCreatePositionGroup.class})
    private String positionName;

    @NotEmpty(message = "岗位编码不能为空", groups = {ValidCreatePositionGroup.class})
    private String positionCode;


    public interface ValidCreatePositionGroup{

    }
}
